<%@ page language="java" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>使用通配符</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  
  <body>
  	<font>使用通配符，能使配置量降到最低</font><br/>
  	<a href="${pageContext.request.contextPath}/wildcard/Studentdelete.action">删除学生</a>
  	<a href="${pageContext.request.contextPath}/wildcard/Studentadd.action">添加学生</a>
  	<p/>
  	<font>不过，一定要遵守"约定由于配置"的原则</font><br/>
  	<a href="${pageContext.request.contextPath}/wildcard/Teacher_add.action">添加老师</a>
  	<a href="${pageContext.request.contextPath}/wildcard/">删除老师</a>
  	<a href="${pageContext.request.contextPath}/wildcard/">添加课程</a>
  	<a href="${pageContext.request.contextPath}/wildcard/">删除课程</a>
  	
  	
  </body>
</html>
